package com.brokendust.client.config.entity.player;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import java.util.HashMap;
import java.util.Map;

public class PlayerRenderJson {
    private Map<String, String> objectList;

    public PlayerRenderJson() {
        this.objectList = new HashMap<String, String>();
    }

    public static PlayerRenderJson readJSON(String string) {
        GsonBuilder builder = new GsonBuilder();
        Gson gson = builder.create();
        return gson.fromJson(string, PlayerRenderJson.class);
    }

    public Map<String, String> getObjectList() {
        return this.objectList;
    }

    public void setObjectList(Map<String, String> objectList) {
        this.objectList = objectList;
    }
}
